package com.whxy02.tolearn.app.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.whxy02.tolearn.app.beans.QuestionCollection;

import java.util.List;

public interface QuestionCollectionService extends PublicService<QuestionCollection>{

    public QuestionCollection getByUserAndQuestion(Integer userId,Integer questionId)throws Exception;
    public Page<QuestionCollection> getByUserIdAndDateDescPage(Integer userId,int nowPage)throws Exception;
}
